﻿<%@ Page Language="C#" MasterPageFile="~/System/System.master" AutoEventWireup="true"
    CodeFile="CodeItemNew.aspx.cs" Inherits="System_CodeItemNew" Title="无标题页" StylesheetTheme="Content" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table cellspacing="0" cellpadding="0" width="100%" class="intable">
        <caption>
            <asp:Label ID="ActionTitle" runat="server"></asp:Label></caption>
        <tr>
            <td class="title" style="width: 80px">
                编码：
            </td>
            <td>
                <asp:TextBox ID="ItemID" runat="server" Width="400px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="title">
                编码名称：
            </td>
            <td>
                <asp:TextBox ID="ItemName" runat="server" Width="400px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="title">
                编码组：</td>
            <td>
                <asp:DropDownList ID="CodeGroup" runat="server" Width="406px" 
                    AutoPostBack="true" DataTextField="GroupName" DataValueField="GroupID" 
                    onselectedindexchanged="CodeGroup_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="title">
                上级编码：
            </td>
            <td>
                <asp:DropDownList ID="ParentList" runat="server" Width="406px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="title">
                菜单序号：
            </td>
            <td>
                <asp:DropDownList ID="SeqList" runat="server" Width="406px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="title">
                描述：
            </td>
            <td>
                <asp:TextBox ID="Description" runat="server" Width="400px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="title">
            </td>
            <td>
                <asp:Button ID="ButtonSave" runat="server" OnClick="ButtonSave_Click" Text="保存" />
                <input id="ButtonCancel" class="button_default" type="button" value="取消" onclick="window.location='CodeItemList.aspx';" />
            </td>
        </tr>
        <tr>
            <td class="title">
            </td>
            <td>
                <asp:Label ID="Prompt" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
